package top.jle.wx.proxy.domain.redpack;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import top.jle.wx.proxy.constant.TransferAPIVersion;

@Schema(title="发起现金支付DTO")
@Getter
@Setter
public class TransferDTO extends NeedSignedDTO{
    @Schema(title ="商户号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String mchid;
    @Schema(title ="商户订单号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String partner_trade_no;
    @Schema(title ="公众号APPID",requiredMode = Schema.RequiredMode.REQUIRED)
    private String mch_appid;
    @Schema(title ="用户openid",requiredMode = Schema.RequiredMode.REQUIRED)
    private String openid;
    @Schema(title ="校验用户姓名选项",hidden = true)
    private String check_name = "NO_CHECK";
    @Schema(title ="调用端IP地址",requiredMode = Schema.RequiredMode.REQUIRED)
    private String spbill_create_ip;
    @Schema(title ="金额（单位：分）",requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer amount;
    @Schema(title ="付款备注",requiredMode = Schema.RequiredMode.REQUIRED)
    private String desc;
    @Schema(title ="消息模板ID")
    private String finder_template_id ;
    @Schema(title ="API版本",description = "默认V2")
    private TransferAPIVersion version = TransferAPIVersion.V2;


}
